package com.unittec.zk.sdk.auth.domain;

import com.unittec.zk.sdk.root.domain.DomainRoot;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
@Data
public class SysFormDto extends DomainRoot implements Serializable {
    private static final long serialVersionUID = -6033335666348709367L;
    /** 表单主键 */
    private Long formId;

    /** 表单名称 */
    @Excel(name = "表单名称",width = 15)
    private String formName;

    /** 表单内容 */
    @Excel(name = "表单内容",width = 15)
    private String formContent;



    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id",super.getId())
                .append("formId", getFormId())
                .append("formName", getFormName())
                .append("formContent", getFormContent())
                .append("createTime", super.getCreateTime())
                .append("updateTime", super.getModifyTime())
                .append("createBy", super.getCreateUser())
                .append("updateBy", super.getModifyUser())
                //.append("remark", super.getRemark())
                .toString();
    }

}
